package com.ruoyi.mapper;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.domain.BasisPosition;
import com.ruoyi.domain.CommanderGrade;
import com.ruoyi.domain.PositionGrade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommanderGradeMapper {


  List<CommanderGrade> byCaseId(@Param("loadingId")String loadingId,@Param("userIds")List<Long> userIds);

  List<Long> getByDeptId(@Param("deptId")Long deptId);

  String getNickName(@Param("userId")Long userId);

  int updateById(@Param("ids")List<Long> ids);

  List<BasisPosition> getTeacherClass(@Param("loadingId")String loadingId);

  List<Long> getClassUserid(@Param("loadingId")String loadingId,@Param("positionId")Long positionId);

  List<CommanderGrade> byScore(@Param("loadingId")String loadingId,@Param("userIds")List<Long> userIds);

  int updateBidstatus(@Param("ids")List<Long> ids);


  Integer getSumPerson(@Param("caseId")String caseId);

  Integer updateByScoreFile(CommanderGrade commanderGrade);


  List<CommanderGrade> byScoresum(@Param("loadingId")String loadingId,@Param("userIds")List<Long> userIds);

  int updateDeletebaseSignalanalysisInfo(@Param("caseId")String caseId);

  //登出更新用户状态
   int upDateUserStatus(Long userId);


}
